var require = function(jsFile) {
    var objMap = {};
    if(objMap[jsFile] != null) {
        return objMap[jsFile];
    }
    // 拿到 jsFile 文件的代码
    var code = JavaApi.read(jsFile);
    if(code == null) {
        console.log("require.js Require:" + jsFile + " failure.");
    }
    // console.log("require.js Require:" + jsFile + " success, length = " + code.length);
    
    var uuid = "VAR" + JavaApi.uuid();
    // 创建一个独一无二的变量名
    code = code.replace('module.exports =', 'var ' + uuid + ' = ');
    code = code + "; " + uuid + ";";
    // 执行
    var obj = eval(code);

    objMap[jsFile] = obj;
    // 返回执行结果
    return obj;
};
var _require = require;